package br.infotec.musicaunb.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;

import org.hibernate.search.annotations.DocumentId;
import org.springframework.data.jpa.domain.AbstractPersistable;
/**
 * 
 * @author Higor Cesar
 *
 */
@Entity
public class Hora extends AbstractPersistable<Long>  implements AbstraticPojo {

	/**
	 * 
	 */
	private static final long serialVersionUID = 3777408955362472558L;
	private Integer hora;

	@Override
	@Column(name = "id_hora")
	@GeneratedValue
	@DocumentId
	public Long getId() {
		// TODO Auto-generated method stub
		return super.getId();
	}
	
	public Integer getHora() {
		return hora;
	}

	public void setHora(Integer hora) {
		this.hora = hora;
	}
	
	
	
}
